-
Home
-
Nginx Helper
-
2.3.3 (latest)
-
Code
-
Classes
- MasterSlaveReplication
Total Complexity |
40 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
241 |
Lines of code |
115 |
Logical lines of code |
57 |
Comment lines |
64 |
Methods |
20 |
Properties |
4 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getConnection() |
S |
59 |
5 |
16 |
switchTo() |
S |
63 |
4 |
10 |
remove() |
S |
60 |
3 |
14 |
add() |
S |
65 |
3 |
9 |
getConnectionById() |
S |
66 |
3 |
9 |
check() |
S |
72 |
3 |
5 |
disconnect() |
S |
68 |
3 |
8 |
__construct() |
S |
76 |
2 |
4 |
isConnected() |
S |
79 |
2 |
3 |
connect() |
S |
69 |
2 |
7 |
executeCommand() |
S |
80 |
1 |
3 |
readResponse() |
S |
80 |
1 |
3 |
writeRequest() |
S |
80 |
1 |
3 |
getSlaves() |
S |
80 |
1 |
3 |
pickSlave() |
S |
80 |
1 |
3 |
getReplicationStrategy() |
S |
82 |
1 |
3 |
getMaster() |
S |
82 |
1 |
3 |
getCurrent() |
S |
82 |
1 |
3 |
reset() |
S |
81 |
1 |
3 |
__sleep() |
S |
79 |
1 |
3 |